home *** CD-ROM | disk | FTP | other *** search
- -------------------------------------
- | I2SQL version 1.0 |
- -------------------------------------
-
-
- Introduction
- ------------
-
-
- This program will only be useful for SQL users who download things
- from Aminet (or who use Aminet CD). If you're not in that case you should
- close this document and erase this archive because you don't need it at all.
-
- I2SQL (for Index to SQL) allows you to convert a standard Aminet Index
- file to a script which can be used with SQL database system, like
- Oracle or SQLDB.
- I programmed it because I didn't want to use grep any more when I wanted to
- to search something in my Index files.
-
- By the way, I'm a French student so excuse me for my English...
-
-
-
- Installation
- ------------
-
- Copy I2SQL where you want. You can also put an Index file in the same
- directory if you want. Put also the file I2SQL.Config in this directory.
-
-
-
- Configuration
- -------------
-
- To use I2SQL, you will need one or two things :
-
- - An Amiga (you could use it...)
-
- - An Aminet Index : It's a standard Index with descriptions truncated to 42
- caracters (more or less).
-
- - SQL based software (see introduction)
-
- - IXEMUL.LIBRARY : It can be found on Aminet or with GCC
-
-
- I tested I2SQL 1.0 on an Amiga 1200 + 6 Megs (2 Megs Chip + 4 Megs Fast) converting
- the Aminet Index from 10-Mar-95 (ftp.cnam.fr).
-
-
-
- Manual
- ------
-
- From CLI : I2SQL [< Index name >] < Table name >
-
- where Index name is the name of your Aminet Index and Table name the name
- of the SQL table where you want to put Index into.
-
- If Index name is not given I2SQL will work on a file named INDEX in its
- current directory.
-
- I2SQL has a configuration file. Please note that this file is optionnal. If
- it's missing I2SQL will use default values (they are in the demo-file). This
- file contains the size of the 4 first fields, one by line. Numbers smaller
- than 10 must be preceded by a 0. If you don't respect this rule, and/or you
- change the file's structure I2SQL will react in a very, very strange way...
- If you want to know how the file is made just have a look at the one in this
- archive.
-
- The program will display his work on the standard output. If you want to record
- conversion in a file you will have to redirect this output to a file (you must
- redirect output if you use SQL)
-
- Example : I2SQL MyOwnIndex.txt Amy > ImportIndex.sql
-
- Conversion of the file MyOwnIndex.txt in the file ImportIndex.sql
- for the SQL table Amy
-
- For SQL import, here is a command to create a table compatible with I2SQL :
-
- create table Amy (Name char(19), Path char(12), Size char(6), Age char(4),
- Desc char(43));
-
-
- By the way, to avoid problems, redirect output in a file located in RAM:
- (I2SQL Index.txt Amy > Ram:Import.sql). It will prevent your hard disk from being
- damaged if the program crashes during an execution (I did not have this problem
- on my computer but ...)
-
- IMPORTANT NOTE : Don't redirect output to the file you are converting. You could
- loose your Index file or damage your disk.
-
-
-
- Disclaimer
- ----------
-
- This piece of software has been tested on a A1200 .You use it at your
- own risks and I can't be responsible if it destroys your hard disk, doesn't
- work on your Amiga 9000 + 68095 card or has a very strange behavior
- if you don't use it in the right way.
-
- Seriousely, I decline responsabilities in case of big problem caused by I2SQL.
- Due to the algorithms I use it can't break anything IF YOU FOLLOW THE INSTRUCTIONS
- GIVEN IN THIS MANUAL. If there is an unclear passage , contact me.
-
-
- Distribution
- ------------
-
- I2SQL is FREEWARE. But I keep a copyright on it.
-
- You can diffuse it and use it freely if the archive is kept intact
- and if you don't put a virus in it.
-
- Aminet, Fred Fish and Amiga magazines are allowed to include this program
- in their collections (Floppy disks or CD ROM).
- Public Domain organisations also have this authorization if the price of the disk stays normal.
- France Festival Distribution WILL NEVER BE ALLOWED to diffuse I2SQL.
-
-
- History
- -------
-
-
- March 1995 : Beta Version 1
- Version not released
-
- April 1995 : Version 1.0
- Some internal bugs fixed.
- Initial release.
-
-
- Author
- ------
-
-
- I2SQL has been created by :
-
- Mr Franck Anière
- 30, Rue Jean Bouin
- 93220 GAGNY
-
- E-Mail : aniere@massena.univ-mlv.fr
- aniere@fillmore.univ-mlv.fr
- aniere@univ-mlv.fr (if the 2 others don't work)
-
-
- You can join me for comments, critics, suggestions and bug report
- (Enforcer Hits are welcome, I don't have MMU!).
-
- I don't know very well how SQL works. So if I2SQL doesn't work don't
- hesitate to tell me what's wrong in the generated file.
-
- I would be happy to work on a converter for another Database Software.
- If you are interested send me a detailled description of the format
- used by the program for the ASCII import or a demo-version (I MEAN
- A LEGAL FREELY DISTRIBUABLE DEMO, NOT A CRACKED SOFTWARE).
-
-
-
- Projects
- --------
-
- I think I will add the following features :
-
- - Direct file output
-
- - Possibility to choose quantity of fields
-
- And any other suggestion I will think it is interesting and makeable
- (After all I'm just a student and I don't have much free time !)
-
-
-